package com.windfone.service;

import java.util.List;

import com.windfone.model.Fitting;
import com.windfone.model.Fittingtype;
import com.windfone.model.Fittingtypebase;

public interface FittingService {
    public int deleteFitting(int keyValue);
    public int getAllRecorderNumber( String whereCondition);
    public int updateFitting(Fitting bean);
    public int insertFitting(Fitting bean );
    public List<Fitting> getFittingById(int keyValue);
    public List<Fitting> getAllFitting(int beginRecord,String whereCondition);
    public List<Fitting> getAllFittingNolimit(String whereCondition);
    public List<Fitting> getFittingByTypeId( int fittingTypeId);
    public int getAllTypeRecorderNumber();
	public List<Fittingtype> getAllFittingType(int beginRecord);
	public List<Fittingtype> getAllFittingType();
	public List<Fittingtype> getFittingTypeById(int keyValue);
	public List<Fittingtype> getFittingTypeByBaseTypeId(int baseTypeId);
	public int deleteFittingType(int fittingTypeId);
	public int insertFittingType(Fittingtype fittype);
	public int updateFittingType(Fittingtype fittype);
	public List<Fittingtypebase> getAllFittingtypebase();
	public List<Fittingtype> getFittingTypeByBaseId(int fittingtypebaseId);
	public List<Fitting> getCommendFittigByCommendType(String commendType);
}
